/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Common;

/**
 *
 * @author satkins
 */
public class Item {

    private int upc;
    private String itemName;
    private String description;
    private String make;
    private String model;
    private double price;

    public Item(int id, String name, String description, String make, String model, double price){
        upc = id;
	itemName = name;
	this.description = description;
	this.make = make;
        this.model = model;
	this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public String getItemName() {
        return itemName;
    }

    public String getMake() {
        return make;
    }

    public double getPrice() {
        return price;
    }

    public int getUpc() {
        return upc;
    }

    public String itemString(){
        String str = "";
        str = itemName + " - $" + price + "\n" + description + "\n";
        return str;
    }
  

}
